{extend name="public:head"}
{block name="main"}



<table class="layui-hide" id="all" lay-filter="all" lay-data="{id: 'sousuo'}"></table>

<script>
    layui.use(['table','layer','form','laydate'], function(){
        var table = layui.table;
        var laydate = layui.laydate;
        var form = layui.form;
        table.render({
            elem: '#all'
            ,url:'/admin/Error/getAllError'
            ,toolbar: '#toolbarDemo'
            ,cols: [[
                {field:'id', title:'id'}
                ,{field:'error_data', title:'错误类型'}
                ,{field:'remarks', title:'备注'}
                ,{field:'url', title:'进来的链接'}
                ,{field:'add_time', title:'操作时间'}
            ]]
            ,page: true
        });
        // 表格重载 用于搜索
        laydate.render({
            elem: '#date' //指定元素
            ,range: '.'
        });
    });
</script>


{/block}